"""
WSGI config for bbs_server project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

from os.path import dirname,abspath
PROJECT_DIR = dirname(dirname(abspath(__file__)))            

import sys                                                   
sys.path.insert(0, PROJECT_DIR)                              

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bbs_server.settings')

application = get_wsgi_application()
